package com.example.shortmessage.model;

import com.example.shortmessage.contract.MessageContract;
import com.example.shortmessage.data.entity.MessageData;

import org.litepal.LitePal;

public class MessageModel implements MessageContract.Model {
    @Override
    public MessageData query(String sms_id) {
        return LitePal.where("sms_id = ?" ,sms_id).findFirst(MessageData.class);
    }

}
